class equation:
    def __init__(self):
        self.a = eval(input())
        self.b = eval(input())
        self.c = eval(input())
    def __main__(self):
        d = self.b**2-4*self.a*self.c
        if self.a == 0 and self.b == 0:
            return 'Data error!'
        elif self.a == 0 and self.b != 0:
            return f"{-self.c/self.b:.2f}"
        else:
            if d > 0:
                x1 = (-self.b+d**0.5)/(2*self.a)
                x2 = (-self.b-d*0.5)/(2*self.a)
                x1, x2 = (x2, x1) if x1 < x2 else (x1, x2)
                return f"{x1:.2f} {x2:.2f}"
            elif d == 0:
                return f"{-self.b/(2*self.a):.2f}"
            else:
                return '该方程式无解'
if __name__ == '__main__':
    print(equation().__main__())